cmake_minimum_required(VERSION 3.5)

project(SendRecv)

add_executable(server src/ServerMain.cpp)

target_include_directories(server PRIVATE include)

add_executable(client src/ClientMain.cpp)

target_include_directories(client PRIVATE include)

add_executable(main src/main.cpp)
add_executable(signal1 src/Signal1.cpp)

find_package(Threads)
target_link_libraries(server ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(client ${CMAKE_THREAD_LIBS_INIT})
